﻿<local:DocumentBase x:Class="ReflectionStudio.Components.UserControls.HomeEK"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core"
    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
    Title="报表系统" ToolTip="Home" IsCloseable="False">

    <Grid Background="{DynamicResource NormalBackgroundBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="40" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions> 
            <Label Grid.Row="0" HorizontalAlignment="Stretch" Name="label1" 
                   VerticalAlignment="Stretch" 
                   Content="采购部报表" FontSize="18"  Margin="0,0,0,0" FontWeight="Bold" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
            <FlowDocumentScrollViewer  Grid.Row="1"  Name="FlowDocViewer">
            <FlowDocument> 
                <List>
                    <ListItem>
                        <Paragraph>
                            <Run FontSize="16" FontWeight="Bold">采购</Run>
                            <LineBreak/>       
                            <WrapPanel>
                                <Button FontSize="14" Height="30" Margin="10"  Tag="EK03YARN" Click="Button_Click">纱线采购</Button>
                                <Button FontSize="14" Height="30" Margin="10"  Tag="EK03" Click="Button_Click">采购原料报表</Button>
                                <Button FontSize="14" Height="30" Margin="10" Tag="EKLS" Click="Button_Click">供应商采购量</Button>
                                <Button FontSize="14" Height="30" Margin="10" Tag="EKGB" Click="Button_Click">原料结存表</Button>
                                <Button FontSize="14" Height="30" Margin="10" Tag="EK03HISTORY" Click="Button_Click">原料采购记录</Button> 
                            </WrapPanel> 
                        </Paragraph>
                    </ListItem> 
                </List> 
            </FlowDocument>
        </FlowDocumentScrollViewer>
        <ucd:WaitSpin Name="WaitPanel" AutoPlay="True" Elem="{Binding ElementName=FlowDocViewer}"/> 
    </Grid>
</local:DocumentBase>
